aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForUserDefinedEffectFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: cbdc2fba74d82be1c6acf94e10a4b23df230d028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Compilation unit elements:


Locals:
 * (val "tmp__fence__0" int)
 * (val "userDefinedEffectPointer__0" data-ptr)

Instructions:

(
    (int-to-data-ptr (local "userDefinedEffectPointer__0") (local "b"))
    (
        memory-load
        (local "tmp__fence__0")
        pointer=(local "userDefinedEffectPointer__0")
        layout=(struct (data-ptr (struct (int int int))))
        offset=(1 1)
    )
)

Temporary stack:
 * PatioLocalRef[name=tmp__fence__0]
 * PatioLocalRef[name=a]